<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo lang('system_author');?></title>

<link rel="stylesheet" type="text/css" href="<?php echo brd_url('css/admin_style.css')?>" />
<link rel="stylesheet" type="text/css" href="<?php echo brd_url('css/common.css')?>" />
<link rel="stylesheet" type="text/css" href="<?php echo brd_url('css/button.css')?>" />
<script type="text/javascript" src="<?php echo brd_url('js/jquery-1.8.1.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/jquery.tipsy.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/artDialog/jquery.artDialog.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/artDialog/plugins/iframeTools.source.js')?>"></script>
<link rel="stylesheet" type="text/css" href="<?php echo brd_url('js/artDialog/skins/default.css?4.1.7')?>"/>
<script type="text/javascript" src="<?php echo brd_url('js/system_set.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/common.js')?>"></script>
<script type="text/javascript" src="<?php echo brd_url('js/prodect_model.js')?>"></script>
<script type="text/javascript">
var toggle_url = '<?php echo site_aurl('content_manage/toggle_url');?>';
var ajax_add_cate = '<?php echo site_aurl('content_manage/ajax_add_cate');?>';
var ajax_edit_cate= '<?php echo site_aurl('content_manage/ajax_edit_cate');?>';
var ajax_save_cate= '<?php echo site_aurl('content_manage/ajax_save_cate');?>';
var purview_move_down = '<?php echo site_aurl('Content_manage/purview_down');?>';
var purview_move_up = '<?php echo site_aurl('Content_manage/purview_up');?>';
var ajax_sort = '<?php echo site_aurl('Content_manage/ajax_sort');?>';
var myurl = '<?php echo get_url();?>';
</script>
	<link rel="stylesheet" href="<?php echo brd_url('kindedit/themes/default/default.css')?>" />
	<link rel="stylesheet" href="<?php echo brd_url('kindedit/plugins/code/prettify.css')?>" />
	<script charset="utf-8" src="<?php echo brd_url('kindedit/kindeditor.js')?>"></script>
	<script charset="utf-8" src="<?php echo brd_url('kindedit/lang/zh_CN.js')?>"></script>
	<script charset="utf-8" src="<?php echo brd_url('kindedit/plugins/code/prettify.js')?>"></script>
</head>
<!--加载头部-->
<?php echo $this->common->submenu();?>
<!--加载左侧-->
<?php echo $this->common->leftmenu();?>
<div class="right">
	<div class="body"> 
	<?php echo $this->common->short_menu();?>
	 	  <?php echo form_open(site_aurl(""),array('class'=>'pro_form','name'=>'pro_form','id'=>'pro_form'));?>
		  <input type="hidden" action="<?php echo site_aurl("content_manage/del_product");?>" id="del_all"/>
		<table class="table" border="0">
			 <tr>
			 <td width="20"><input type="checkbox" name="all_check" id="all_check"/></td>
			 <td width="30">排序</td>
			 <td width="30">ID</td>
			 <td width="241">标题</td>
			 <td width="48">访问量</td>
			 <td width="68">管理操作</td>
			 </tr>
	 	    <?php if($data):?>
			<?php foreach($data as $val):?>
			<tr>
			    <td>
			    <input name="add_check[]" type="checkbox" id="add_check" value="<?php echo $val['id']?>"/>
			    </td>
				<td width="30">
				<input type=hidden name='id[]' style='text-align:center;' size='3' value="<?php echo $val['id'];?>"/>
				<input name='nSort[]' style="text-align:center; width:30px" type="text" class="input_text_35" value="<?php echo $val['sort'];?>" /></input></td>
				<td><?php echo $val['id'];?></td>
                <td><?php echo $val['title'];?></td>
                <td><?php echo $val['hit'];?></td>
				<td><a href="javascript:system_set.edit(<?php echo $val['id'];?>)" title="编辑" class="tipright" >编辑</a>/<a _href="<?php echo site_aurl('content_manage/delSingle/'.$val['id']) ;?>" title="删除" class="delSingle tipright" id="delSingle">删除</a></td>
			</tr>
			<?php endforeach;?>
			<?php endif;?>
		</table>
		<table>
		<tr>
        <td>
        <input type="submit" class="blue button small" id="btn_sort" value="排序"/>
        <input type="button" form="pro_form" class="blue button small" id="btn_del" value="删除"/>
        </td>
        </tr>
		
		</table>
		<?php echo form_close();?>
   </div>
</div>
</html>
